package com.ems.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 设备：逆变器、汇流箱、电表、组件（监控器）、微逆、机器人、无人机
 * </p>
 *
 * @author WuZH
 * @since 2023-10-24
 */
@Data
public class DeviceVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ( "id" )
    private String id;

    @ApiModelProperty ( "电站Id" )
    private String stationId;

    @ApiModelProperty ( "1：主设备;2：从设备" )
    private Integer type;

    @ApiModelProperty ( "父设备Id" )
    private String parentId;

    @ApiModelProperty ( "设备地址" )
    private String deviceAddress;

    @ApiModelProperty ( "设备名称" )
    private String deviceName;

    @ApiModelProperty ( "设备用户名" )
    private String userName;

    @ApiModelProperty ( "设备密码" )
    private String password;

    private Date createTime;

    private Date changeTime;

    private Integer connectStatus;

    private String chargeDisPower;

    @ApiModelProperty ( "离并网设置，1：离网；0：并网" )
    private Integer offGridStatus;

    private Integer isUsed;

}
